// Credit.java
package A4;

import java.io.*;
import java.util.*;
import java.util.Date;

/**
 *
 */
public class Credit implements Payment {

    /**
     * Default constructor
     */
    public Credit() {
    }

    /**
     *
     */
    private String number;

    /**
     *
     */
    private String type;

    /**
     *
     */
    private Date expireDate;

    /**
     * @return
     */
    public String getNumber() {
        return number;
    }

    /**
     * @return
     */
    public String getType() {
        return type;
    }

    /**
     * @return
     */
    public Date getExpireDate() {
        return expireDate;
    }

    /**
     * @return
     */
    public double getAmount() {
        return 0.0d;
    }

}